package chapter3.No3_2_方法join的使用.demo4;

/**
 * Created by Administrator on 2016/11/20.
 */
public class ThreadA extends Thread {
    @Override
    public void run() {
        try {
            System.out.println("A线程运行开始：" + System.currentTimeMillis());
            Thread.sleep(5000);
            System.out.println("A线程执行完毕：" + System.currentTimeMillis());
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
